module.exports = {
  publicPath: "/addons/up_dh/cms/",
  devServer: {
    port: 3333,
    open: true,
    proxy: {
      "/addons": {
        target: "http://127.0.0.1:8888",
        ws: true, //代理websockets
        changeOrigin: true,
        pathRewrite: {
          "^/addons": "/addons"
        }
      }
    }
  },
  css: {
    loaderOptions: {
      scss: {
        prependData: `@import "@/assets/scss/_variable.scss";`
      }
    }
  }
};
